package com.techsoul.module.tms.pojo.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.techsoul.common.core.pojo.entity.DataEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
/**
 * FreightVehicleDispatch
 * 余量发布
 * @author zhaowei
 * @since 2021-06-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_fo_freight_vehicle_dispatch")

public class FreightVehicleDispatch extends DataEntity {
    @ApiModelProperty(value = "物流计划编号")

    private String purchaseOrderId;
   @ApiModelProperty(value = "到货地址")

   private String destinationName;

   @ApiModelProperty(value = "出发")

   private String departureName;

    @ApiModelProperty(value = "货主编号")

    private String publishCarrierId;

    @ApiModelProperty(value = "货主名称")

    private String publishCarrier;

    @ApiModelProperty(value = "发布范围")

    private String publishScope;

    @ApiModelProperty(value = "驾驶员")

    private String driverName;

    @ApiModelProperty(value = "提货城市")

    private String pickupCity;

    @ApiModelProperty(value = "交货城市")
    private String deliveryCity;

    @ApiModelProperty(value = "提货地址")
    private String pickupAddress;

    @ApiModelProperty(value = "交货地址")
    private String deliveryAddress;

    private BigDecimal pickupLongitude;

    private BigDecimal pickupLatitude;

    private BigDecimal deliveryLongitude;

    private BigDecimal deliveryLatitude;

    @ApiModelProperty(value = "货物名称")
     private String materialName;

    @ApiModelProperty(value = "完成时间")
    private Date completeTime;

    @ApiModelProperty(value = "运输路线代码")
     private String routeCode;

    @ApiModelProperty(value = "提货日期")
     private Date pickupDate;

    @ApiModelProperty(value = "交货日期")
    private Date deliveryDate;

    @ApiModelProperty(value = "发布数量")
   private BigDecimal quantity;

    @ApiModelProperty(value = "已被接单数量")
     private BigDecimal dispatchedQuantity;

    @ApiModelProperty(value = "司机抢单数量总和")
     private BigDecimal bidQuantity;

    @ApiModelProperty(value = "抢单司机总人数")
    private Integer bidDriverCount;

    private String deliveryType;

    @ApiModelProperty(value = "1:FTL 整车 2：LTL 零担 司机任务类型")
    private String orderTypeNo;

    private String autoDispatchFlag;

    @ApiModelProperty(value = "4 按路线结算 5 按里程 6 按区域结算")
    private String routeDistanceType;

    @ApiModelProperty(value = "round 来回 depart 单程 return 回程")
    private String routeType;

    @ApiModelProperty(value = "里程数")
    private BigDecimal mile;

    private BigDecimal carrierFee;

    @ApiModelProperty(value = "TK 运输 BR 撮合运输")
    private String jobType;

    private String settled;

    @ApiModelProperty(value = "11 一装一卸 12 一装两卸 13 一装三卸 以此类推")
    private String loadMethod;

    @ApiModelProperty(value = "每吨运费出价")
    private BigDecimal unitPricePayable;

    private String status;
    private String estDeliveryDays;

    private String vehicleNo;
    private String customerNo;
    private String  customerName;
    private String  consigneePhone;
    private String  consigneeNo;
    private String  consigneeName;
    private String  freightOrderNo;
    private String  vehicleModel;
    private Double publishDriverPrice;
    private Double  totWeight;
    private String ftlRequestVehicleType;
    private String ftlRequestVehicleLength;
    private String  settledYn;

    private Date  estPickupDate;
    private Date  estDeliveryDate;
    private String  site;

    private String  departmentNo;

    private String dispatchNo;

    private String trackId;

    private String warehouseId;




    private String dispatchPlanNo;

    private String carrierNo;


    private String vehicleIdentity;

    private String voyagesNo;
    private String carrierName;

    private String driver;
    private String driverPhone;

    private String shipmentLocation;

    private String destination;

    private Date planDate;
    private Date executeDate;

    private String dispatchUser;

    private Date dispatchTime;

    private String vehicleType;

    private String assignmentTypeNo;
    private String noteText;

    private Date startOffTime;

    private String startOffRemark;
    private String paymentCode;


    private Date settledTime;

    private String settledSeq;

    private String autoReturnYn;

    private String carrierSite;

    private BigDecimal stopOffCt;

    private String autoTariffYn;

    private String teamYn;
    private String carrierEdiYn;

    private BigDecimal cntrSize;
    private BigDecimal cntrType;
    private BigDecimal zoneType;

    private BigDecimal tripType;

    private String serviceType;
    private BigDecimal tonType;

    private String chargeAdjustType;


    private BigDecimal dangerType;
    private String distributorDeptSite;

    private String containerNo;

    private String carrierConfStatus;


    private String dispatcher;

    private String dropOffAdd;
    private String pickUpAdd;

    private BigDecimal phaseId;
    private BigDecimal loadingRate;
    private BigDecimal volRate;

    private String targetInvfilePath;

    private String clientInvfileName;


    private String targetFilePath;


    private Date invUploadTm;

    private Date uploadTm;

    private BigDecimal palletQty;

    private String selfDriverYn;
    private String clientFileName;

    private String deptOrderNo;



    private String sentUpdateStatus;
    private BigDecimal accountPayable;

    private BigDecimal accountUnitPayable;







}
